package com.lovo.dao;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.lovo.model.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User findByUserAccountAndUserPassword(@Param("userAccount")String userAccount,@Param("userPassword")String userPassword);

    List<User> findAllByUserAccountAndUserEmailAndUserTelAndUserName(@Param("userAccount")String userAccount,@Param("userEmail")String userEmail,@Param("userTel")String userTel,@Param("userName")String userName);


}